<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css"/>
</head>
<body>
    <!--ng-app管理整个div,如果引号不为空，则认为是指定的是自定义的该模块,则是由myApp这个来管理这个模块。如果为空，也是一个模块-->
   <div ng-app="myApp">
       <div ng-controller="firstController">
           <p>{{123456789|number}}</p>
           <p>{{123456789|number:3}}</p>  <!--//默认有3个0-->

           <p>{{199|currency}}</p>    <!--货币-->
           <p>{{199|currency:'RMB'}}</p>

           <p>{{today}}</p>
           <p>{{today|date:'medium'}}</p>
           <p>{{today|date:'short'}}</p>
           <p>{{today|date:'fullDate'}}</p>
           <p>{{today|date:'mediumDate'}}</p>
           <p>{{today|date:'longDate'}}</p>
           <p>{{today|date:'shortDate'}}</p>
           <p>{{today|date:'mediumTime'}}</p>
           <p>{{today|date:'shortTime'}}</p>

           <p>
               {{today|date:'y'}}
               {{today|date:'yy'}}
               {{today|date:'yyyy'}}
           </p>

           <p>
               {{today|date:'M'}}
               {{today|date:'MM'}}
               {{today|date:'MMM'}}
               {{today|date:'MMMM'}}
           </p>
           <p>
               {{today|date:'d'}}
               {{today|date:'dd'}}
               {{today|date:'EEEE'}}
               {{today|date:'EEE'}}
           </p>

           <p>
               {{today|date:'HH'}}
               {{today|date:'H'}}
               {{today|date:'hh'}}
               {{today|date:'h'}}
           </p>

           <p>
               {{today|date:'mm'}}
               {{today|date:'m'}}
           </p>
           <p>
               {{today|date:'ss'}}
               {{today|date:'s'}}
               {{today|date:'.sss'}}
           </p>

           <p>
               {{today|date:'y-MM-d H:m:s'}}

           </p>
       </div>

   </div>
<script type="text/javascript" src="../js/angularjs.js"></script>
<script type="text/javascript" src="index.js"></script>

</body>
</html>